package com.css.zfzx.fxpg.modules.buildings.census.repository;

import com.css.zfzx.fxpg.modules.buildings.census.repository.entity.FxCityHouseEntity;
import com.css.zfzx.fxpg.modules.buildings.census.viewobjects.FxHouseQueryParams;
import org.springframework.data.domain.Page;

import java.util.List;

/**
 * @author andy
 * @date 2020-11-11
 */
public interface FxCityHouseNativeRepository {

    Page<FxCityHouseEntity> queryFxCityHouses(FxHouseQueryParams queryParams, int curPage, int pageSize, String sort, String order, String userId);

    List<FxCityHouseEntity> listFxCityHouses(FxHouseQueryParams queryParams, String userId);

    List<FxCityHouseEntity> searchFxCityHouses(FxHouseQueryParams queryParams, String userId);
}
